<div class="row">
    <div class="col-md-12 widget-module">
        <div class="box-widget">
            <div class="widget-head clearfix">
                <h4 class="pull-left"><?php echo $this->translate('general setting'); ?></h4>
            </div>
            
            <div class="widget-container">
                <div class="widget-block">
                    <div class="widget-content">
                        <form id="usergroup" method="post" class="form-horizontal form-box">
                            <div class="form-group">
                                <label class="col-lg-3 control-label"><?php echo $this->translate('product items per page'); ?></label>
                                <div class="col-lg-2">
                                    <select class="form-control" name="product_items_per_page">
                                        <option <?php if(isset($this->data['product_items_per_page']) && $this->data['product_items_per_page'] == 6) echo 'selected="selected"'; ?> value="6">6</option>
                                        <option <?php if(isset($this->data['product_items_per_page']) && $this->data['product_items_per_page'] == 9) echo 'selected="selected"'; ?> value="9">9</option>
                                        <option <?php if(isset($this->data['product_items_per_page']) && $this->data['product_items_per_page'] == 12) echo 'selected="selected"'; ?> value="12">12</option>
                                        <option <?php if(isset($this->data['product_items_per_page']) && $this->data['product_items_per_page'] == 24) echo 'selected="selected"'; ?> value="24">24</option>
                                        <option <?php if(isset($this->data['product_items_per_page']) && $this->data['product_items_per_page'] == 0) echo 'selected="selected"'; ?> value="0"><?php echo $this->translate('all'); ?></option>
                                    </select>
                                </div>
                            </div>
                            
                            <div class="form-group">
                                <label class="col-lg-3 control-label"><?php echo $this->translate('posts per page'); ?></label>
                                <div class="col-lg-2">
                                    <select class="form-control" name="posts_per_page">
                                        <option <?php if(isset($this->data['posts_per_page']) && $this->data['posts_per_page'] == 5) echo 'selected="selected"'; ?> value="5">5</option>
                                        <option <?php if(isset($this->data['posts_per_page']) && $this->data['posts_per_page'] == 10) echo 'selected="selected"'; ?> value="10">10</option>
                                        <option <?php if(isset($this->data['posts_per_page']) && $this->data['posts_per_page'] == 20) echo 'selected="selected"'; ?> value="20">20</option>
                                        <option <?php if(isset($this->data['posts_per_page']) && $this->data['posts_per_page'] == 0) echo 'selected="selected"'; ?> value="0"><?php echo $this->translate('all'); ?></option>
                                    </select>
                                </div>
                            </div>
                            
                            <div class="form-group">
                                <label class="col-lg-3 control-label"><?php echo $this->translate('alert out of stock if quantity less than'); ?></label>
                                <div class="col-lg-2">
                                    <select class="form-control" name="out_of_stock_level">
                                        <?php for($i = 1; $i <= 10; $i ++): ?>
                                            <option <?php if(isset($this->data['out_of_stock_level']) && $this->data['out_of_stock_level'] == $i) echo 'selected="selected"'; ?> value="<?php echo $i; ?>"><?php echo $i; ?></option>
                                        <?php endfor; ?>
                                    </select>
                                </div>
                            </div>
                            
                            <div class="form-group">
                                <label class="col-lg-3 control-label">&nbsp;</label>
                                <div class="col-lg-4">
                                    <div class="form-actions">
                                        <button type="submit" class="btn btn-primary">
                                            <i class="icon-save"></i>
                                            <?php echo $this->translate('save'); ?>
                                        </button>
                                        <button id="cancel" type="button" class="btn">
                                            <i class="icon-cancel-circle-2"></i>
                                            <?php echo $this->translate('cancel'); ?>
                                        </button>
                                    </div>
                                </div>
                            </div> 
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>